[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BT                Bit Test (386)                     Flags: O D I T S Z A P C
                                                                            *
BT destination, source

           Logic:      CF . bit from destination at position source

     The Bit Test instructions manipulate individual bits. The source
     specifies a bit position in the destination operand. BT copies that
     bit to the carry flag.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   BT register, immediate8    3  (386)     -        3    BT AX,3
   BT memory, immediate8      6  (386)     -        3    BT MEMLOC,3
   BT register, register      3  (386)     -        3    BT AX,BX
   BT memory, register        12 (386)     -        3    BT MEMLOC,AX
  --------------------------------------------------------------------------

        Note:          Both memory and register operands can be either
                       16 bits or 32 bits (80386).

See Also: BSF BSR BTC BTR BTS
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson